package com.easy.bean;

import java.util.List;

public class Product {
    private int proid;
    private int cateid;
    private String name;
    private String subtitle;
    private String defaultimage;
    private String info;
    private String price;
    private String oldprice;
    private String status;
    private String isdelete;
    private Category category;
    private List<Productimg> imglist;

    @Override
    public String toString() {
        return "Product{" +
                "proid=" + proid +
                ", cateid=" + cateid +
                ", name='" + name + '\'' +
                ", subtitle='" + subtitle + '\'' +
                ", defaultimage='" + defaultimage + '\'' +
                ", info='" + info + '\'' +
                ", price='" + price + '\'' +
                ", oldprice='" + oldprice + '\'' +
                ", status='" + status + '\'' +
                ", isdelete='" + isdelete + '\'' +
                ", category=" + category +
                ", imglist=" + imglist +
                '}';
    }

    public List<Productimg> getImglist() {
        return imglist;
    }

    public void setImglist(List<Productimg> imglist) {
        this.imglist = imglist;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public int getProid() {
        return proid;
    }

    public void setProid(int proid) {
        this.proid = proid;
    }

    public int getCateid() {
        return cateid;
    }

    public void setCateid(int cateid) {
        this.cateid = cateid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getDefaultimage() {
        return defaultimage;
    }

    public void setDefaultimage(String defaultimage) {
        this.defaultimage = defaultimage;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getOldprice() {
        return oldprice;
    }

    public void setOldprice(String oldprice) {
        this.oldprice = oldprice;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }
}
